//
//  NSDictionary+Nomal.m
//  CXDToolKit
//
//  Created by 陈小东 on 15/5/6.
//  Copyright (c) 2015年 ___cxd___. All rights reserved.
//

#import "NSDictionary+Nomal.h"

@implementation NSDictionary (Nomal)
- (NSString *)jsonString{
    NSError *err;
    if(!self){
        return nil;
    }
    NSData *jsonData = [NSJSONSerialization dataWithJSONObject:self
                                                       options:0
                                                         error:&err];
    NSString *jsonString = [[NSString alloc] initWithData:jsonData
                                                 encoding:NSUTF8StringEncoding];
    return jsonString;
}

@end
